package com.app.qbake.module.mine;

import android.support.v4.app.Fragment;

import com.wind.base.mvp.view.TabLayoutFragment;
import com.app.qbake.R;

import java.util.ArrayList;
import java.util.List;

public class CollectGoodsTabFragment extends TabLayoutFragment {
    @Override
    public int getLayoutRes() {
        return R.layout.fragment_my_goods_tab;
    }

    @Override
    public List<String> getTitles() {
        List<String> titles=new ArrayList<>();
        titles.add("收藏");
        titles.add("关注");
        return titles;
    }

    @Override
    protected List<Fragment> getFragments() {
        List<Fragment> fragments=new ArrayList<>();
        fragments.add(new CollectGoodsListFragment());
        fragments.add(new FollowUserListFragment());
        return fragments;
    }
}
